@extends('admin::public.base')

@section('content')
    <div class="layui-elem-quote">查看用户</div>
    <form class="layui-form" action="" method="post" onsubmit="javascript:return false">
        {{method_field('put')}}
        <div class="layui-form-item">
            <label for="" class="layui-form-label">昵&nbsp;&nbsp;&nbsp;称</label>
            <div class="layui-input-inline">
                <input type="text" name="nickname" autocomplete="off" disabled="disabled" value="{{$user->username}}"  class="layui-input" >
            </div>
        </div>
        <div class="layui-form-item">
            <label for="" class="layui-form-label">邮&nbsp;&nbsp;&nbsp;箱</label>
            <div class="layui-input-inline">
                <input type="email" name="email" autocomplete="off" disabled="disabled" value="{{$user->email}}" class="layui-input" >
            </div>
        </div>
        <div class="layui-form-item">
            <label for="" class="layui-form-label">用户名</label>
            <div class="layui-input-inline">
                <input type="text" name="name" autocomplete="off" disabled="disabled" value="{{$user->name}}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="" class="layui-form-label">手机号</label>
            <div class="layui-input-inline">
                <input type="text" name="tel" autocomplete="off" disabled="disabled" value="{{$user->phone}}" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <a class="layui-btn" href="{{route('admin.user')}}" >返回用户列表</a>
            </div>
        </div>
    </form>
@endsection


